package cn.mikuhl.onlinereviewsplatform.DTO;

import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Setter
@Getter
public class CommentDTO {

    private Long id;
    private Long userId;
    private String content;
    private LocalDateTime createdAt;

    public CommentDTO(Long id, Long userId, String content, LocalDateTime createdAt) {
        this.id = id;
        this.userId = userId;
        this.content = content;
        this.createdAt = createdAt;
    }

}

